package Demo3;

/*
 *Description:
 *User:laoHu
 *Created with Intellij IDEA 2025
 *Data:2025.05.00
 *Time:00:00
 */

//接口：1.使用关键字interface
public interface USB {
    //2.接口中可以由成员，默认是public static final
    public static final double length = 2.0;
    public static final double width = 1.0;

    //3.接口的方法默认是public abstract修饰
   public abstract void open();

   public abstract void close();



}
